<%@include file="../base/include.jsp"%>
<div class="well">
	<ul class="nav nav-list">
		<security:authorize access="hasAnyRole('ADMINISTRATOR')">
			<li class="nav-header">User management</li>

			<li id="menuAllUsers"><a href="<c:url value='/admin/user/list'/>"><i class="icon-user"></i> All Users</a></li>
			<security:authorize access="hasAnyRole('ADMINISTRATOR')">
				<li id="menuLoggedUsers"><a href="<c:url value='/admin/user/list/logged'/>"><i class="icon-eye-open"></i> Logged Users</a></li>
			</security:authorize>
			<li id="menuGroups"><a href="<c:url value='/admin/group/list'/>"><i class="icon-list-alt"></i> Groups</a></li>
			<li id="menuRoles"><a href="<c:url value='/admin/group/roles'/>"><i class="icon-briefcase"></i> Roles</a></li>
			<li id="menuAudit"><a href="<c:url value='/admin/audit'/>"><i class="icon-list"></i>Audit</a></li>
			<br />
		</security:authorize>

		<security:authorize access="hasAnyRole('ADMINISTRATOR')">
			<li class="nav-header">System maintenance</li>

			<li id="menuNotification"><a href="<c:url value='/admin/notification'/>"><i class="icon-bell"></i> Notification</a></li>
			<security:authorize access="hasAnyRole('ADMINISTRATOR')">
				<li id="menuAdvanced">
					<a href="<c:url value='/admin/advanced'/>"><i class="icon-wrench"></i> Advanced</a>
				</li>

				<li id="menuProperties">
					<a href="<c:url value='/admin/properties'/>"> <i class="icon-list-alt"></i> System Properties</a>
				</li>

				<br />
			</security:authorize>
		</security:authorize>

		<security:authorize access="hasAnyRole('ADMINISTRATOR')">
			<li class="nav-header">Content management</li>
			<li id="menuNews"><a href="<c:url value='/admin/news'/>"><i class="icon-bullhorn"></i> News</a></li>
		</security:authorize>
		<security:authorize access="hasAnyRole('ADMINISTRATOR')">
			<li id="menuFeedback"><a href="<c:url value='/admin/feedback'/>"><i class="icon-retweet"></i> Feedback</a></li>
			<li id="menuExam"><a href="<c:url value='/admin/exams'/>"><i class="icon-list"></i> Exam</a></li>
			<li id="menuCategory"><a href="<c:url value='/admin/categories'/>"><i class="icon-list"></i> Category</a></li>
			<li id="menuSeries"><a href="<c:url value='/admin/series/list'/>"><i class="icon-list-alt"></i> Article series</a></li>

		</security:authorize>
	</ul>
</div>

<script type="text/javascript">
	setActiveMainMenuElem('administration');
</script>